use alloc::string::String;
use alloc::vec::Vec;

use crate::ir::tensor::{DType, Tensor};

pub type ValueId = u32;
#[derive(Clone)]
pub struct TypeInfo {
    pub dtype: DType,
    pub shape: Vec<usize>,
}

pub struct Value {
    pub id: ValueId,
    pub name: String,
    pub ty: Option<TypeInfo>,
    pub constant: Option<Tensor>,
}
